package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 规则制度管理对象 bus_gzzdgl
 *
 * @author yaowei
 * @date 2021-07-01
 */
public class BusGzzdgl implements BusOperator, Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 公告标题
     */
    @Excel(name = "公告标题")
    private String ggbt;

    /**
     * 公共内容
     */
    @Excel(name = "公共内容")
    private String ggnr;

    /**
     * 公告状态
     */
    @Excel(name = "公告状态")
    private String ggzt;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String zt;

    /**
     * 创建者
     */
    @Excel(name = "创建者")
    private String cjz;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String cjsj;

    /**
     * 写入时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "写入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xrsj;

    /**
     * 写入人id
     */
    @Excel(name = "写入人id")
    private Long xrrId;

    /**
     * 最后修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xgsj;

    /**
     * 最后修改人id
     */
    @Excel(name = "最后修改人id")
    private Long xgrId;

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public Long getId() {
        return id;
    }

    public void setGgbt(String ggbt) {
        this.ggbt = ggbt;
    }

    public String getGgbt() {
        return ggbt;
    }

    public void setGgnr(String ggnr) {
        this.ggnr = ggnr;
    }

    public String getGgnr() {
        return ggnr;
    }

    public void setGgzt(String ggzt) {
        this.ggzt = ggzt;
    }

    public String getGgzt() {
        return ggzt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

    public String getZt() {
        return zt;
    }

    public void setCjz(String cjz) {
        this.cjz = cjz;
    }

    public String getCjz() {
        return cjz;
    }

    public void setCjsj(String cjsj) {
        this.cjsj = cjsj;
    }

    public String getCjsj() {
        return cjsj;
    }

    @Override
    public void setXrsj(Date xrsj) {
        this.xrsj = xrsj;
    }

    public Date getXrsj() {
        return xrsj;
    }

    @Override
    public void setXrrId(Long xrrId) {
        this.xrrId = xrrId;
    }

    public Long getXrrId() {
        return xrrId;
    }

    @Override
    public void setXgsj(Date xgsj) {
        this.xgsj = xgsj;
    }

    public Date getXgsj() {
        return xgsj;
    }

    @Override
    public void setXgrId(Long xgrId) {
        this.xgrId = xgrId;
    }

    public Long getXgrId() {
        return xgrId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ggbt", getGgbt())
                .append("ggnr", getGgnr())
                .append("ggzt", getGgzt())
                .append("zt", getZt())
                .append("cjz", getCjz())
                .append("cjsj", getCjsj())
                .append("xrsj", getXrsj())
                .append("xrrId", getXrrId())
                .append("xgsj", getXgsj())
                .append("xgrId", getXgrId())
                .toString();
    }
}
